#ifndef COMPILE_ONLINE

#include "hander.cpp"
#endif


void Test1()
{
    int ret = Solution().GetMax({1, 2, 3, 4, 5, 6, 7, 8, 9, 10});
    if (ret == 10)
    {
        std::cout << "通过用例1，测试{1,2,3,4,5,6,7,8,9,10}通过 ... OK" << std::endl;
    }
    else
    {
        std::cout << "未通过测试用例1，测试用例为{1,2,3,4,5,6,7,8,9,10} ... FALSE" << std::endl;
    }
}

void Test2()
{
    int ret = Solution().GetMax({-1, -2, -3, -4, -5, -6, -7, -8, -9, -10});
    if (ret == -1)
    {
        std::cout << "通过用例2，测试{-1,-2,-3,-4,-5,-6,-7,-8,-9,-10}通过 ... OK" << std::endl;
    }
    else
    {
        std::cout << "未通过测试用例2，测试用例为{-1,-2,-3,-4,-5,-6,-7,-8,-9,-10} ... FALSE" << std::endl;
    }
}

int main()
{
    Test1();
    Test2();
    return 0;
}
